<!DOCTYPE html>
{% load myfilter  %}
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文章显示</title>
    <link rel="stylesheet" href="{% static 'common/css/table.css' %}">

</head>
    {% include "inc/top.html" with title='文章显示' %}
    <table class="mytable">
        <tr><td>
            {% include "topic/inc.html" %}
        </td></tr>
    </table>
    <table class="mytable">
        <tbody>
        <tr>
            <td>标题</td>
            <td>{{ t.title }} </td>
        </tr>
        <tr>
            <td>所属栏目</td>
            <td>
                {{ t.category.name }}
            </td>
        </tr>
        <tr>
            <td>发布日期</td>
            <td>{{ t.release_date }} [{{ t.create_date }}]</td>
        </tr>
        <tr>
            <td>作者</td>
            <td>{{ t.author }} </td>
        </tr>
        <tr>
            <td colspan="2">文章内容</td>
        </tr>
        <tr>
            <td colspan="2">
                {{ t.content|safe }}
            </td>
        </tr>

        </tbody>
    </table>
</body>
</html>